package org.wangle.api.properties.MQ;



public class SecKillProperties {

    //redis的key
    public final static String goods_nums_key = "goods:nums:";
    public final static String goods_key = "goods:";
    //用户秒杀接口key
    public final static String goods_buyer_key = "goods:buyers:";

    public final static String goods_buyer_finish_key = "goods:buyers:finish";

    //用户付款成功key
    public final static String goods_buyer_finished_key = "goods:buyers:finished:";

    //secKill的组件定义名
    public final static String secKillQueue = "create.order.of.secKill.queue" ;
    public final static String secKillExchange = "create.order.of.secKill.exchange";
    public final static String secKillBindingKey = "create.order.of.secKill.binding";

    //secKill延时队列组件定义
    public final static String secKillDelayQueue = "create.order.of.secKill.delay.queue";
    public final static String secKillDelayExchange = "create.order.of.secKill.delay.exchange";
    public final static String secKillDelayBindingKey = "create.order.of.secKill.delay.binding";
    public final static Integer secKillDelayTTL = 30000;



    //死信队列定义
    public final static String secKillDeathQueue = "create.order.of.secKill.death.queue";
    public final static String secKillDeathExchange = "create.order.of.secKill.death.exchange";
    public final static String secKillDeathBindingKey = "create.order.of.secKill.death.binding";



}
